
package bean;

public class AccountBEAN {
	private int				accountID;
	private CharacterBEAN	character;
	private String			realName;
	private String			password;
	private String			mail;

	/**
	 * @param accountID
	 * @param character
	 * @param realName
	 * @param password
	 * @param mail
	 */
	public AccountBEAN( int accountID, CharacterBEAN character,
			String realName, String password, String mail ) {
		super();
		this.accountID = accountID;
		this.character = character;
		this.realName = realName;
		this.password = password;
		this.mail = mail;
	}

	public int getAccountID() {
		return accountID;
	}

	public void setAccountID( int accountID ) {
		this.accountID = accountID;
	}

	public CharacterBEAN getCharacter() {
		return character;
	}

	public void setCharacter( CharacterBEAN character ) {
		this.character = character;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName( String realName ) {
		this.realName = realName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword( String password ) {
		this.password = password;
	}

	public String getMail() {
		return mail;
	}

	public void setMail( String mail ) {
		this.mail = mail;
	}

	@Override
	public String toString() {
		return "AccountBEAN [accountID=" + accountID + ", character="
				+ character.getCharName() + ", realName=" + realName
				+ ", password=" + password + ", mail=" + mail + "]";
	}
}
